package Work;

import java.util.Scanner;

public class sumDif {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        System.out.println("请输入第一个整数");
        int i = sc.nextInt();

        System.out.println("请输入第二个整数");
        int j = sc.nextInt();

        System.out.println("他们的和为" + (i + j));

        System.out.println("他们的和为" + (i - j));

    }
}
